package com.abiao.demo.service;

import com.abiao.demo.domain.User;
import com.abiao.demo.vo.UserVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @program: demo
 * @description: 用户service
 * @author: luobiao
 * @date: 2022-01-24 15:59
 **/
public interface UserService extends IService<User> {

    int insertUser(User user);

    int updateUser(User user);

    int deleteUser(User user);

    User findUserByName(String userName);

    User getUserById(Long id);

    List<UserVO> getUserList();

}
